3.2503 \(\int \frac {1}{\sqrt {a+b x^n}} \, dx\)

Optimal. Leaf size=39 \[ \frac {x \sqrt {a+b x^n} \, _2F_1\left (1,\frac {1}{2}+\frac {1}{n};1+\frac {1}{n};-\frac {b x^n}{a}\right )}{a} \]

[Out]

x*hypergeom([1, 1/2+1/n],[1+1/n],-b*x^n/a)*(a+b*x^n)^(1/2)/a

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 48, normalized size of antiderivative = 1.23, number of steps used = 2, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {246, 245} \[ \frac {x \sqrt {\frac {b x^n}{a}+1} \, _2F_1\left (\frac {1}{2},\frac {1}{n};1+\frac {1}{n};-\frac {b x^n}{a}\right )}{\sqrt {a+b x^n}} \]

Antiderivative was successfully verified.

[In]

Int[1/Sqrt[a + b*x^n],x]

[Out]

(x*Sqrt[1 + (b*x^n)/a]*Hypergeometric2F1[1/2, n^(-1), 1 + n^(-1), -((b*x^n)/a)])/Sqrt[a + b*x^n]

Rule 245

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[a^p*x*Hypergeometric2F1[-p, 1/n, 1/n + 1, -((b*x^n)/a)],
x] /; FreeQ[{a, b, n, p}, x] &&  !IGtQ[p, 0] &&  !IntegerQ[1/n] &&  !ILtQ[Simplify[1/n + p], 0] && (IntegerQ[p
] || GtQ[a, 0])

Rule 246

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[(a^IntPart[p]*(a + b*x^n)^FracPart[p])/(1 + (b*x^n)/a)^Fr
acPart[p], Int[(1 + (b*x^n)/a)^p, x], x] /; FreeQ[{a, b, n, p}, x] &&  !IGtQ[p, 0] &&  !IntegerQ[1/n] &&  !ILt
Q[Simplify[1/n + p], 0] &&  !(IntegerQ[p] || GtQ[a, 0])

Rubi steps

\begin {align*} \int \frac {1}{\sqrt {a+b x^n}} \, dx &=\frac {\sqrt {1+\frac {b x^n}{a}} \int \frac {1}{\sqrt {1+\frac {b x^n}{a}}} \, dx}{\sqrt {a+b x^n}}\\ &=\frac {x \sqrt {1+\frac {b x^n}{a}} \, _2F_1\left (\frac {1}{2},\frac {1}{n};1+\frac {1}{n};-\frac {b x^n}{a}\right )}{\sqrt {a+b x^n}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 48, normalized size = 1.23 \[ \frac {x \sqrt {\frac {b x^n}{a}+1} \, _2F_1\left (\frac {1}{2},\frac {1}{n};1+\frac {1}{n};-\frac {b x^n}{a}\right )}{\sqrt {a+b x^n}} \]

Antiderivative was successfully verified.

[In]

Integrate[1/Sqrt[a + b*x^n],x]

[Out]

(x*Sqrt[1 + (b*x^n)/a]*Hypergeometric2F1[1/2, n^(-1), 1 + n^(-1), -((b*x^n)/a)])/Sqrt[a + b*x^n]

________________________________________________________________________________________

fricas [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+b*x^n)^(1/2),x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (co
nstant residues)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {b x^{n} + a}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+b*x^n)^(1/2),x, algorithm="giac")

[Out]

integrate(1/sqrt(b*x^n + a), x)

________________________________________________________________________________________

maple [F]  time = 0.21, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {b \,x^{n}+a}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(b*x^n+a)^(1/2),x)

[Out]

int(1/(b*x^n+a)^(1/2),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {b x^{n} + a}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+b*x^n)^(1/2),x, algorithm="maxima")

[Out]

integrate(1/sqrt(b*x^n + a), x)

________________________________________________________________________________________

mupad [B]  time = 1.39, size = 43, normalized size = 1.10 \[ \frac {x\,\sqrt {\frac {b\,x^n}{a}+1}\,{{}}_2{\mathrm {F}}_1\left (\frac {1}{2},\frac {1}{n};\ \frac {1}{n}+1;\ -\frac {b\,x^n}{a}\right )}{\sqrt {a+b\,x^n}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(a + b*x^n)^(1/2),x)

[Out]

(x*((b*x^n)/a + 1)^(1/2)*hypergeom([1/2, 1/n], 1/n + 1, -(b*x^n)/a))/(a + b*x^n)^(1/2)

________________________________________________________________________________________

sympy [C]  time = 1.09, size = 39, normalized size = 1.00 \[ \frac {x \Gamma \left (\frac {1}{n}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2}, \frac {1}{n} \\ 1 + \frac {1}{n} \end {matrix}\middle | {\frac {b x^{n} e^{i \pi }}{a}} \right )}}{\sqrt {a} n \Gamma \left (1 + \frac {1}{n}\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+b*x**n)**(1/2),x)

[Out]

x*gamma(1/n)*hyper((1/2, 1/n), (1 + 1/n,), b*x**n*exp_polar(I*pi)/a)/(sqrt(a)*n*gamma(1 + 1/n))

________________________________________________________________________________________